@use 'src/styles/abstracts' as *;

.ControlPopover {
  box-shadow: 0 0.25rem 0.375rem rgba(144, 175, 218, 0.2);
  border: $border-main;
}

.ControlPopover__container {
  .MuiListItem-button {
    color: $text-color;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: $border-radius-sm;
    &:hover {
      background-color: $cuddle-20;
    }
  }
  &-small {
    .MuiListItem-button {
      height: 28px;
    }
  }
  &-medium {
    .MuiListItem-button {
      height: 32px;
    }
  }
  &-large {
    .MuiListItem-button {
      height: 36px;
    }
  }
  .MuiListItem-root.Mui-selected {
    background-color: transparent;
    color: $primary-color;
    &:hover {
      background-color: $cuddle-20;
    }
    &::after {
      content: '✓';
      position: absolute;
      right: 0.5rem;
    }
  }

  .subtitle {
    text-transform: uppercase;
  }
}

.ControlPopover__title {
  padding: 0.5rem 1rem;
  border-bottom: $border-main;
  background: $primary-color-5;
}
